package com.auction.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 订单统计VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderStatisticsVO {
    /**
     * 总订单数
     */
    private Integer totalOrders;

    /**
     * 待付款订单数
     */
    private Integer pendingPaymentOrders;

    /**
     * 待发货订单数
     */
    private Integer pendingShipmentOrders;

    /**
     * 运输中订单数
     */
    private Integer inTransitOrders;

    /**
     * 已完成订单数
     */
    private Integer completedOrders;

    /**
     * 已取消订单数
     */
    private Integer cancelledOrders;

    /**
     * 退款中订单数
     */
    private Integer refundingOrders;

    /**
     * 已退款订单数
     */
    private Integer refundedOrders;

    /**
     * 总消费金额
     */
    private BigDecimal totalSpent;

    /**
     * 月度消费统计
     */
    private Map<String, BigDecimal> monthlySpending;
}